package cn.ym.ymcc.mapper;

import cn.ym.ymcc.domain.User;
import cn.ym.ymcc.result.JSONResult;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 会员登录账号 Mapper 接口
 * </p>
 *
 * @author 210513347@qq.com
 * @since 2023-05-05
 */
public interface UserMapper extends BaseMapper<User> {
    /**通过电话号码查询是否注册过*/
    JSONResult findByPhone(String phone);

    List<User> patchQuery(List<Long> ids);
}
